package ar.com.ford.it.fullEconomics.persistence.dto;

import java.sql.Timestamp;
import com.ford.it.persistence.PersistenceHelper;
import com.ford.it.persistence.PersistenceIndirection;

/**
 * ### Generado por Oracle TopLink Workbench 10.1.3.1.0 - Tue Aug 05 14:10:11
 * GMT 2008. ###
 */

public class Teesv01Vehiclelin {
    
    /** Lazy-Load attribute */
    private PersistenceIndirection teesx03Intflog = PersistenceHelper
    .newIndirection(null);

    private Timestamp eesv01LastUpdtS;
    private Timestamp eesv01CreateS;
    private String eesv01LastUpdtUserC;
    private String eesv01CreateUserC;
    private Timestamp eesv01VehicleOutDateY;
    private Timestamp eesv01VehicleInDateY;
    private String eesv01VehicleNameN;
    private String eesv01VehicleCodeC;

    public Teesv01Vehiclelin() {
        super();
    }

    public Timestamp getEesv01CreateS() {
        return this.eesv01CreateS;
    }

    public String getEesv01CreateUserC() {
        return this.eesv01CreateUserC;
    }

    public Timestamp getEesv01LastUpdtS() {
        return this.eesv01LastUpdtS;
    }

    public String getEesv01LastUpdtUserC() {
        return this.eesv01LastUpdtUserC;
    }

    public String getEesv01VehicleCodeC() {
        return this.eesv01VehicleCodeC;
    }

    public Timestamp getEesv01VehicleInDateY() {
        return this.eesv01VehicleInDateY;
    }

    public String getEesv01VehicleNameN() {
        return this.eesv01VehicleNameN;
    }

    public Timestamp getEesv01VehicleOutDateY() {
        return this.eesv01VehicleOutDateY;
    }

    public void setEesv01CreateS(Timestamp eesv01CreateS) {
        this.eesv01CreateS = eesv01CreateS;
    }

    public void setEesv01CreateUserC(String eesv01CreateUserC) {
        this.eesv01CreateUserC = eesv01CreateUserC;
    }

    public void setEesv01LastUpdtS(Timestamp eesv01LastUpdtS) {
        this.eesv01LastUpdtS = eesv01LastUpdtS;
    }

    public void setEesv01LastUpdtUserC(String eesv01LastUpdtUserC) {
        this.eesv01LastUpdtUserC = eesv01LastUpdtUserC;
    }

    public void setEesv01VehicleCodeC(String eesv01VehicleCodeC) {
        this.eesv01VehicleCodeC = eesv01VehicleCodeC;
    }

    public void setEesv01VehicleInDateY(Timestamp eesv01VehicleInDateY) {
        this.eesv01VehicleInDateY = eesv01VehicleInDateY;
    }

    public void setEesv01VehicleNameN(String eesv01VehicleNameN) {
        this.eesv01VehicleNameN = eesv01VehicleNameN;
    }

    public void setEesv01VehicleOutDateY(Timestamp eesv01VehicleOutDateY) {
        this.eesv01VehicleOutDateY = eesv01VehicleOutDateY;
    }
    
    
    /**
     * Sobreescritura del metodo equals
     */
    public boolean equals(Object o) {
    	
        if (o instanceof Teesv01Vehiclelin) {
			Teesv01Vehiclelin teesv01Vehiclelin = (Teesv01Vehiclelin) o;
			if(teesv01Vehiclelin.getEesv01VehicleCodeC().equals(this.getEesv01VehicleCodeC()))
				return true;
			else
				return false;
		}else{
			return false;
		}
    }

    public Teesx03Intflog getTeesx03Intflog() {
        return (Teesx03Intflog)teesx03Intflog.getValue();
    }

    public void setTeesx03Intflog(Teesx03Intflog teesx03Intflog) {
        this.teesx03Intflog.setValue(teesx03Intflog);
    }
}
